{include file="common/header" /}

<style>
/* 合作伙伴页面样式 */
:root {
  --partner-primary: #f08a5d;
  --partner-secondary: #f9b384;
  --partner-accent: #ffbe76;
  --partner-gradient: linear-gradient(135deg, var(--partner-primary), var(--partner-secondary));
  --partner-purple: #CCCCFF;
  --partner-red: #FFCCCC;
  --partner-yellow: #FFFFCC;
  --partner-green: #E5FFCC;
  --partner-blue: #CCE5FF;
}

.dark {
  --partner-primary: #d07a4d;
  --partner-secondary: #d99b74;
  --partner-accent: #dfae66;
  --partner-gradient: linear-gradient(135deg, var(--partner-primary), var(--partner-secondary));
  --partner-purple: #AAAAE0;
  --partner-red: #E0AAAA;
  --partner-yellow: #E0E0AA;
  --partner-green: #C5E0AA;
  --partner-blue: #AAC5E0;
}

/* 英雄区域 */
.partner-hero {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('{$setting.web_view}/placeholder.svg?height=800&width=1600');
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.dark .partner-hero {
  background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)), url('{$setting.web_view}/placeholder.svg?height=800&width=1600');
}

.partner-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(240, 138, 93, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 138, 93, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.dark .partner-hero::before {
  background-image: 
    linear-gradient(rgba(208, 122, 77, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 122, 77, 0.05) 1px, transparent 1px);
}

.partner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.partner-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.dark .partner-hero h1 {
  color: var(--dark-text);
}

.partner-hero h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--partner-gradient);
  border-radius: 2px;
}

.partner-hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.dark .partner-hero p {
  color: var(--dark-text-secondary);
}

.partner-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-partner {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.btn-partner-primary {
  background: var(--partner-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(240, 138, 93, 0.3);
}

.dark .btn-partner-primary {
  box-shadow: 0 4px 15px rgba(208, 122, 77, 0.3);
}

.btn-partner-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(240, 138, 93, 0.4);
}

.dark .btn-partner-primary:hover {
  box-shadow: 0 8px 25px rgba(208, 122, 77, 0.4);
}

.btn-partner-outline {
  background: transparent;
  border: 2px solid var(--partner-primary);
  color: var(--partner-primary);
}

.dark .btn-partner-outline {
  border-color: var(--partner-primary);
  color: var(--partner-primary);
}

.btn-partner-outline:hover {
  background: rgba(240, 138, 93, 0.1);
  transform: translateY(-5px);
}

.dark .btn-partner-outline:hover {
  background: rgba(208, 122, 77, 0.1);
}

.btn-partner-outline span {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-partner-outline:hover span {
  transform: translateX(5px);
}

/* 合作方式选项卡 */
.partner-tabs {
  background-color: white;
  padding: 1rem 0;
  position: relative;
  z-index: 90;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dark .partner-tabs {
  background-color: var(--dark-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.partner-tabs-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.partner-tab {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--dark);
  background-color: var(--gray-light);
}

.dark .partner-tab {
  color: var(--dark-text);
  background-color: #2a2a2a;
}

.partner-tab.active {
  background-color: var(--partner-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(240, 138, 93, 0.3);
}

.dark .partner-tab.active {
  background-color: var(--partner-primary);
  box-shadow: 0 5px 15px rgba(208, 122, 77, 0.3);
}

.partner-tab:hover:not(.active) {
  background-color: rgba(240, 138, 93, 0.1);
  transform: translateY(-3px);
}

.dark .partner-tab:hover:not(.active) {
  background-color: rgba(208, 122, 77, 0.1);
}

/* 导航菜单 */
.partner-nav {
  background-color: white;
  padding: 1rem 0;
  position: sticky;
  top: 70px;
  z-index: 90;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.dark .partner-nav {
  background-color: var(--dark-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.partner-nav-container {
  display: none;
}

.partner-nav-container.active {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.partner-nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dark .partner-nav-link {
  color: var(--dark-text);
}

.partner-nav-link:hover, .partner-nav-link.active {
  color: var(--partner-primary);
  background-color: rgba(240, 138, 93, 0.1);
}

.dark .partner-nav-link:hover, .dark .partner-nav-link.active {
  background-color: rgba(208, 122, 77, 0.1);
}

/* 内容区域通用样式 */
.partner-section {
  padding: 5rem 0;
  position: relative;
}

.partner-section:nth-child(odd) {
  background-color: var(--light);
}

.partner-section:nth-child(even) {
  background-color: var(--gray-light);
}

.dark .partner-section:nth-child(odd) {
  background-color: var(--dark-bg);
}

.dark .partner-section:nth-child(even) {
  background-color: #1a1a1a;
}

.partner-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.partner-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.dark .partner-section-title {
  color: var(--dark-text);
}

.partner-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--partner-gradient);
  border-radius: 2px;
}

.partner-section-description {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto;
}

.dark .partner-section-description {
  color: var(--dark-text-secondary);
}

/* 服务优势部分 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantage-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.dark .advantage-card {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dark .advantage-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--partner-gradient);
  border-radius: 0 2px 2px 0;
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--partner-primary);
}

.dark .advantage-icon {
  color: var(--partner-primary);
}

.advantage-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .advantage-title {
  color: var(--dark-text);
}

.advantage-description {
  color: var(--gray);
  font-size: 0.95rem;
}

.dark .advantage-description {
  color: var(--dark-text-secondary);
}

.advantage-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.advantage-list li {
  color: var(--gray);
  margin-bottom: 0.5rem;
  position: relative;
}

.dark .advantage-list li {
  color: var(--dark-text-secondary);
}

.advantage-list li::before {
  content: "✓";
  color: var(--partner-primary);
  position: absolute;
  left: -1.5rem;
  font-weight: bold;
}

/* 伙伴权益部分 */
.benefits-table-container {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.dark .benefits-table-container {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.benefits-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.dark .benefits-table {
  background-color: var(--dark-card-bg);
}

.benefits-table th, .benefits-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .benefits-table th, .dark .benefits-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-table th {
  background-color: var(--partner-primary);
  color: white;
  font-weight: 600;
}

.dark .benefits-table th {
  background-color: var(--partner-primary);
}

.benefits-table th:first-child {
  text-align: left;
  background-color: var(--dark);
  color: white;
}

.dark .benefits-table th:first-child {
  background-color: #2a2a2a;
}

.benefits-table tr:hover {
  background-color: rgba(240, 138, 93, 0.05);
}

.dark .benefits-table tr:hover {
  background-color: rgba(208, 122, 77, 0.05);
}

.benefits-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--dark);
}

.dark .benefits-table td:first-child {
  color: var(--dark-text);
}

.benefit-check {
  color: var(--success);
  font-size: 1.2rem;
}

.benefit-none {
  color: var(--gray);
  font-size: 1.2rem;
}

.dark .benefit-none {
  color: var(--dark-text-secondary);
}

/* 伙伴等级样式 */
.partner-level-purple {
  background-color: #CCCCFF;
  color: #333;
}

.partner-level-red {
  background-color: #FFCCCC;
  color: #333;
}

.partner-level-yellow {
  background-color: #FFFFCC;
  color: #333;
}

.partner-level-green {
  background-color: #E5FFCC;
  color: #333;
}

.partner-level-blue {
  background-color: #CCE5FF;
  color: #333;
}

/* 申请要求部分 */
.requirements-table-container {
  overflow-x: auto;
  margin-top: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.dark .requirements-table-container {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.dark .requirements-table {
  background-color: var(--dark-card-bg);
}

.requirements-table th, .requirements-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .requirements-table th, .dark .requirements-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-table th {
  background-color: var(--partner-primary);
  color: white;
  font-weight: 600;
}

.dark .requirements-table th {
  background-color: var(--partner-primary);
}

.requirements-table tr:hover {
  background-color: rgba(240, 138, 93, 0.05);
}

.dark .requirements-table tr:hover {
  background-color: rgba(208, 122, 77, 0.05);
}

.requirements-table td:first-child {
  font-weight: 600;
}

/* 申请流程部分 */
.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  position: relative;
  flex-wrap: wrap;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--partner-gradient);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 150px;
  margin-bottom: 2rem;
}

.process-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--partner-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(240, 138, 93, 0.3);
  position: relative;
}

.dark .process-step-number {
  box-shadow: 0 5px 15px rgba(208, 122, 77, 0.3);
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.dark .process-step-title {
  color: var(--dark-text);
}

.process-step-description {
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
  max-width: 200px;
}

.dark .process-step-description {
  color: var(--dark-text-secondary);
}

.process-apply-btn {
  margin-top: 3rem;
  text-align: center;
}

/* 常见问题部分 */
.faq-container {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background-color: white;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.dark .faq-item {
  background-color: var(--dark-card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dark .faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark);
}

.dark .faq-question {
  color: var(--dark-text);
}

.faq-question span {
  font-size: 1.5rem;
  transition: transform 0.4s ease;
  display: inline-block;
}

.faq-answer {
  padding: 0 1.5rem;
  color: var(--gray);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.dark .faq-answer {
  color: var(--dark-text-secondary);
}

.faq-answer-content {
  padding-bottom: 1.5rem;
}

/* 推广返佣特定样式 */
.affiliate-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(240, 138, 93, 0.1), rgba(249, 179, 132, 0.1));
  border-radius: 12px;
}

.dark .affiliate-cta {
  background: linear-gradient(135deg, rgba(208, 122, 77, 0.1), rgba(217, 155, 116, 0.1));
}

.affiliate-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .affiliate-cta h3 {
  color: var(--dark-text);
}

.affiliate-cta p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.dark .affiliate-cta p {
  color: var(--dark-text-secondary);
}

.rules-container {
  margin-top: 3rem;
}

.rules-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.dark .rules-card {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.rules-header {
  background: var(--partner-gradient);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.rules-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.rules-content {
  padding: 2rem;
}

.rules-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.rules-item:last-child {
  margin-bottom: 0;
}

.rules-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--partner-primary);
}

.dark .rules-icon {
  color: var(--partner-primary);
}

.rules-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.dark .rules-text h4 {
  color: var(--dark-text);
}

.rules-text p {
  color: var(--gray);
  font-size: 0.95rem;
}

.dark .rules-text p {
  color: var(--dark-text-secondary);
}

.methods-container {
  margin-top: 3rem;
}

.methods-subtitle {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
}

.dark .methods-subtitle {
  color: var(--dark-text);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.method-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.dark .method-card {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dark .method-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.method-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--partner-primary);
}

.dark .method-icon {
  color: var(--partner-primary);
}

.method-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .method-title {
  color: var(--dark-text);
}

.method-description {
  color: var(--gray);
  font-size: 0.95rem;
}

.dark .method-description {
  color: var(--dark-text-secondary);
}

.methods-stats {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(240, 138, 93, 0.1), rgba(249, 179, 132, 0.1));
  border-radius: 12px;
}

.dark .methods-stats {
  background: linear-gradient(135deg, rgba(208, 122, 77, 0.1), rgba(217, 155, 116, 0.1));
}

.methods-stats h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .methods-stats h3 {
  color: var(--dark-text);
}

.methods-stats p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.dark .methods-stats p {
  color: var(--dark-text-secondary);
}

/* 添加优秀代理展示区域样式 */
.partners-showcase {
  margin-top: 4rem;
}

.partners-showcase-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
}

.dark .partners-showcase-title {
  color: var(--dark-text);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}

.partner-item {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.dark .partner-item {
  background-color: var(--dark-card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dark .partner-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.partner-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--partner-primary);
}

.partner-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.dark .partner-name {
  color: var(--dark-text);
}

.partner-type {
  font-size: 0.85rem;
  color: var(--partner-primary);
  margin-bottom: 0.5rem;
}

.dark .partner-type {
  color: var(--partner-primary);
}

.partner-description {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .partner-description {
  color: var(--dark-text-secondary);
}

.partner-more {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: rgba(240, 138, 93, 0.1);
  color: var(--partner-primary);
  border-radius: 20px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.dark .partner-more {
  background-color: rgba(208, 122, 77, 0.1);
  color: var(--partner-primary);
}

.partner-more:hover {
  background-color: var(--partner-primary);
  color: white;
}

/* 合作计划新闻样式 */
.partner-news {
  margin-top: 4rem;
}

.partner-news-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
}

.dark .partner-news-title {
  color: var(--dark-text);
}

.partner-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .partner-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .partner-news-grid {
    grid-template-columns: 1fr;
  }
}

.partner-news-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.dark .partner-news-item {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.partner-news-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dark .partner-news-item:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.partner-news-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.partner-news-content {
  padding: 1.5rem;
}

.partner-news-date {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.dark .partner-news-date {
  color: var(--dark-text-secondary);
}

.partner-news-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .partner-news-heading {
  color: var(--dark-text);
}

.partner-news-text {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dark .partner-news-text {
  color: var(--dark-text-secondary);
}

.partner-news-link {
  display: inline-flex;
  align-items: center;
  color: var(--partner-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.dark .partner-news-link {
  color: var(--partner-primary);
}

.partner-news-link span {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.partner-news-link:hover span {
  transform: translateX(5px);
}

/* 1v1客服联系方式样式 */
.contact-qr {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.qr-item {
  text-align: center;
  max-width: 200px;
}

.qr-code {
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
  border: 5px solid white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark .qr-code {
  border-color: var(--dark-card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.qr-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.dark .qr-title {
  color: var(--dark-text);
}

.qr-description {
  font-size: 0.9rem;
  color: var(--gray);
}

.dark .qr-description {
  color: var(--dark-text-secondary);
}

/* 响应式调整 */
@media (max-width: 992px) {
  .partner-hero {
    padding: 80px 0;
  }
  
  .partner-hero h1 {
    font-size: 2.5rem;
  }
  
  .partner-hero p {
    font-size: 1.1rem;
  }
  
  .partner-section-title {
    font-size: 2.2rem;
  }
  
  .partner-hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-partner {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    flex: 0 0 50%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .partner-hero h1 {
    font-size: 2.2rem;
  }
  
  .partner-section-title {
    font-size: 2rem;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex: 0 0 100%;
  }

  .partner-tabs-container {
    gap: 1rem;
  }
  
  .partner-tab {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .methods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .partner-hero h1 {
    font-size: 1.8rem;
  }
  
  .partner-hero p {
    font-size: 1rem;
  }
  
  .partner-section-title {
    font-size: 1.8rem;
  }
  
  .partner-nav-container {
    gap: 0.5rem;
  }
  
  .partner-nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  .partner-tabs-container {
    gap: 0.5rem;
  }
  
  .partner-tab {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

.qr-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.contact-qrcode {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: 3px solid var(--partner-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark .contact-qrcode {
  border-color: var(--partner-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 为什么选择我们部分 */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dark .why-choose-card {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.why-choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.dark .why-choose-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.why-choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--partner-gradient);
}

.why-choose-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--partner-primary);
}

.dark .why-choose-icon {
  color: var(--partner-primary);
}

.why-choose-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.dark .why-choose-title {
  color: var(--dark-text);
}

.why-choose-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.dark .why-choose-description {
  color: var(--dark-text-secondary);
}
</style>

<!-- 合作方式选项卡 -->
<div class="partner-tabs">
  <div class="container">
    <div class="partner-tabs-container">
      <div class="partner-tab active" data-tab="agent">代理合作</div>
      <div class="partner-tab" data-tab="affiliate">推广返佣</div>
    </div>
  </div>
</div>

<!-- 英雄区域 -->
<section class="partner-hero">
  <div class="container partner-hero-content">
    <h1>合作伙伴</h1>
    <p>与我们合作伙伴，共同创造无限可能。我们提供全方位的云服务，助您实现业务增长和创新发展。</p>
    <div class="partner-hero-buttons">
      <a href="#contact" class="btn-partner btn-partner-outline">咨询我们 <span>→</span></a>
      <a href="#apply" class="btn-partner btn-partner-primary">立即申请</a>
    </div>
  </div>
</section>

<!-- 导航菜单 -->
<div class="partner-nav">
  <div class="container">
    <div class="partner-nav-container agent-nav active">
      <a href="#advantages" class="partner-nav-link">服务优势</a>
      <a href="#benefits" class="partner-nav-link">伙伴权益</a>
      <a href="#requirements" class="partner-nav-link">申请要求</a>
      <a href="#process" class="partner-nav-link">申请流程</a>
      <a href="#why-choose-us" class="partner-nav-link">为什么选择我们</a>
      <a href="#faq" class="partner-nav-link">常见问题</a>
      <a href="#agent-showcase" class="partner-nav-link">优秀代理</a>
      <a href="#contact" class="partner-nav-link">联系我们</a>
    </div>
    <div class="partner-nav-container affiliate-nav">
      <a href="#affiliate-advantages" class="partner-nav-link">推广优势</a>
      <a href="#affiliate-process" class="partner-nav-link">推广流程</a>
      <a href="#affiliate-rules" class="partner-nav-link">返利规则</a>
      <a href="#affiliate-methods" class="partner-nav-link">推广方式</a>
      <a href="#affiliate-faq" class="partner-nav-link">常见问题</a>
      <a href="#affiliate-showcase" class="partner-nav-link">优秀推广员</a>
      <a href="#contact" class="partner-nav-link">联系我们</a>
    </div>
  </div>
</div>

<!-- 代理合作部分 - 默认显示 -->
<div class="agent-content">
  <!-- 服务优势部分 -->
  <section id="advantages" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">服务优势</h2>
        <p class="partner-section-description">降低成本助您稳固市场地位，提升竞争力。充分利用我们的云服务，实现共赢合作！</p>
      </div>
      
      <div class="advantages-grid">
        <div class="advantage-card">
          <div class="advantage-icon">🌐</div>
          <h3 class="advantage-title">全面支持多渠道商机触达</h3>
          <p class="advantage-description">通过线上线下联动，提供全方位的商机触达服务，帮助合作伙伴快速扩大市场覆盖。</p>
          <ul class="advantage-list">
            <li>扩展市场覆盖范围</li>
            <li>提高客户获取效率</li>
            <li>降低获客成本</li>
          </ul>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">📢</div>
          <h3 class="advantage-title">强化线上推广支持</h3>
          <p class="advantage-description">提供专业的线上推广资源和支持，帮助合作伙伴提升品牌知名度和曝光率。</p>
          <ul class="advantage-list">
            <li>提升品牌知名度</li>
            <li>增加产品曝光率</li>
            <li>精准营销支持</li>
          </ul>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">🏪</div>
          <h3 class="advantage-title">丰富的线下渠道资源</h3>
          <p class="advantage-description">提供丰富的线下渠道资源，帮助合作伙伴快速渗透市场，拓展业务范围。</p>
          <ul class="advantage-list">
            <li>加速市场渗透</li>
            <li>线下活动支持</li>
            <li>区域市场开发</li>
          </ul>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">👥</div>
          <h3 class="advantage-title">直销支持</h3>
          <p class="advantage-description">提供专业的直销支持，帮助合作伙伴加强客户关系管理和提升销售效率。</p>
          <ul class="advantage-list">
            <li>加强客户关系管理</li>
            <li>提升销售效率</li>
            <li>专业销售培训</li>
          </ul>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">🤝</div>
          <h3 class="advantage-title">生态资源互助</h3>
          <p class="advantage-description">共享合作网络中的多方资源，实现资源互补，共同发展。</p>
          <ul class="advantage-list">
            <li>共享合作网络</li>
            <li>资源互补共享</li>
            <li>生态圈协同发展</li>
          </ul>
        </div>
      </div>
    </div>
  </section>

  <!-- 伙伴权益部分 -->
  <section id="benefits" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">伙伴权益</h2>
        <p class="partner-section-description">提升您的合作伙伴等级，享受更多专属优惠！与我们合作，共同开拓市场，共享成功！</p>
      </div>
      
      <div class="benefits-table-container">
        <table class="benefits-table">
          <thead>
            <tr>
              <th>权益类型</th>
              <th class="partner-level-purple">紫喵代理</th>
              <th class="partner-level-red">红喵代理</th>
              <th class="partner-level-yellow">黄喵代理</th>
              <th class="partner-level-green">绿喵代理</th>
              <th class="partner-level-blue">蓝喵代理</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td colspan="6" style="text-align: left; font-weight: bold; background-color: rgba(0,0,0,0.05);">销售支持</td>
            </tr>
            <tr>
              <td>专业销售支持</td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td>专属生态合作经理</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td>优先售前支持</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td>销售商机共享</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td>专属产品或方案定制化价格</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td colspan="6" style="text-align: left; font-weight: bold; background-color: rgba(0,0,0,0.05);">技术支持</td>
            </tr>
            <tr>
              <td>开放API平台</td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td>销售平台辅助搭建</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td colspan="6" style="text-align: left; font-weight: bold; background-color: rgba(0,0,0,0.05);">赋能支持</td>
            </tr>
            <tr>
              <td>专属销售能力培训</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
            <tr>
              <td colspan="6" style="text-align: left; font-weight: bold; background-color: rgba(0,0,0,0.05);">免费享受</td>
            </tr>
            <tr>
              <td>007ACS容器云系统</td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-none">-</span></td>
              <td><span class="benefit-check">✓</span></td>
              <td><span class="benefit-check">✓</span></td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </section>

  <!-- 申请要求部分 -->
  <section id="requirements" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">申请要求</h2>
        <p class="partner-section-description">积极寻求与各行各业的优秀合作伙伴合作，共同打造智慧未来。欢迎有志之士加入我们的大家庭，共同创造美好！</p>
      </div>
      
      
        <div class="requirements-table-container">
          <table class="requirements-table">
          <thead>
            <tr>
              <th>伙伴等级</th>
              <th>预存金额</th>
              <th>产品折扣</th>
              <th>公司规模标准</th>
              <th>专职团队人数</th>
              <th>季度销售额</th>
              <th>年度销售额</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td class="partner-level-purple" style="color: #333;">紫喵代理</td>
              <td>500</td>
              <td>9折</td>
              <td>无要求</td>
              <td>无要求</td>
              <td>0.00</td>
              <td>0.00</td>
            </tr>
            <tr>
              <td class="partner-level-red" style="color: #333;">红喵代理</td>
              <td>1000</td>
              <td>8折</td>
              <td>无要求</td>
              <td>无要求</td>
              <td>0.00</td>
              <td>0.00</td>
            </tr>
            <tr>
              <td class="partner-level-yellow" style="color: #333;">黄喵代理</td>
              <td>2000</td>
              <td>7折</td>
              <td>无要求</td>
              <td>无要求</td>
              <td>0.00</td>
              <td>0.00</td>
            </tr>
            <tr>
              <td class="partner-level-green" style="color: #333;">绿喵代理</td>
              <td>5000</td>
              <td>6折</td>
              <td>无要求</td>
              <td>无要求</td>
              <td>0.00</td>
              <td>0.00</td>
            </tr>
            <tr>
              <td class="partner-level-blue" style="color: #333;">蓝喵代理</td>
              <td>10000</td>
              <td>5折</td>
              <td>无要求</td>
              <td>无要求</td>
              <td>0.00</td>
              <td>0.00</td>
            </tr>
          </tbody>
        </table>
      </div>
      
    </div>
  </section>

  <!-- 申请流程部分 -->
  <section id="process" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">申请流程</h2>
        <p class="partner-section-description">提供快速高效的申请渠道和审核流程，助您轻松加入我们的合作伙伴网络！</p>
      </div>
      
      <div class="process-steps">
        <div class="process-step">
          <div class="process-step-number">1</div>
          <h3 class="process-step-title">提交申请</h3>
          <p class="process-step-description">填写并提交合作伙伴申请表，提供必要的企业资质信息</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">2</div>
          <h3 class="process-step-title">审核评估</h3>
          <p class="process-step-description">我们将对您的申请进行审核和评估，确认合作资质</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">3</div>
          <h3 class="process-step-title">沟通共创</h3>
          <p class="process-step-description">双方深入沟通，确定合作模式和具体合作内容</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">4</div>
          <h3 class="process-step-title">签署协议</h3>
          <p class="process-step-description">签署合作协议，明确双方权利和义务</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">5</div>
          <h3 class="process-step-title">成为伙伴</h3>
          <p class="process-step-description">正式成为我们的合作伙伴，开启共赢合作之旅</p>
        </div>
      </div>
      
      <div id="apply" class="process-apply-btn">
        <a href="#" class="btn-partner btn-partner-primary">提交申请</a>
      </div>
    </div>
  </section>

  <!-- 为什么选择我们部分 -->
  <section id="why-choose-us" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">为什么选择与我们合作</h2>
        <p class="partner-section-description">选择橘喵云，您将获得全方位支持与赋能，共同创建卓越的云服务生态</p>
    </div>
    
    <div class="why-choose-grid">
      <div class="why-choose-card">
        <div class="why-choose-icon">🚀</div>
        <h3 class="why-choose-title">精准赋能，提升能力</h3>
        <p class="why-choose-description">无需担心准备度不足，您可以利用橘喵云提供的专属技术培训、技术认证，使能您的云产品应用和技术服务快速提升。</p>
      </div>
      
      <div class="why-choose-card">
        <div class="why-choose-icon">💼</div>
        <h3 class="why-choose-title">专业技术，凝聚优势</h3>
        <p class="why-choose-description">您可以获得橘喵云专业的技术团队支持，以构建能力和解决方案，打造自身独特的优势。</p>
      </div>
      
      <div class="why-choose-card">
        <div class="why-choose-icon">🌍</div>
        <h3 class="why-choose-title">丰富资源，拓展机会</h3>
        <p class="why-choose-description">您有机会参加橘喵云举办的技术沙龙分享会，研讨会，行业展会，以及联合开展市场营销等活动，让您优秀的产品获得更多的机会。</p>
      </div>
      
      <div class="why-choose-card">
        <div class="why-choose-icon">🤝</div>
        <h3 class="why-choose-title">全球生态，持续发展</h3>
        <p class="why-choose-description">可以利用开放的橘喵云全球生态资源，助您快速融入当地生态圈，与橘喵云一起合作共赢，共同实现业务持续发展。</p>
      </div>
    </div>
  </div>
</section>

  <!-- 常见问题部分 -->
  <section id="faq" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">常见问题</h2>
        <p class="partner-section-description">解答您关心的问题，帮助您更好地了解我们的合作伙伴计划</p>
      </div>
      
      <div class="faq-container">
        <div class="faq-item">
          <div class="faq-question" onclick="toggleFAQ(this)">
            合作伙伴的选择标准是什么？
            <span>+</span>
          </div>
          <div class="faq-answer">
            <div class="faq-answer-content">
              选择标准包括技术能力、安全合规性、价格竞争力、服务支持品质以及合作伙伴的市场声誉。我们注重合作伙伴的综合实力和长期发展潜力，希望与志同道合的伙伴共同成长。
            </div>
          </div>
        </div>
        
        <div class="faq-item">
          <div class="faq-question" onclick="toggleFAQ(this)">
            合作伙伴提供的云服务如何保证数据安全？
            <span>+</span>
          </div>
          <div class="faq-answer">
            <div class="faq-answer-content">
              我们通过多重安全措施保障数据安全，包括但不限于：加密技术确保数据传输和存储安全；定期数据备份防止数据丢失；多重身份认证确保只有授权用户能够访问数据；严格的访问控制和权限管理；定期安全审计和漏洞扫描等。此外，我们还遵循国际安全标准和法规要求，确保数据处理合规。
            </div>
          </div>
        </div>
        
        <div class="faq-item">
          <div class="faq-question" onclick="toggleFAQ(this)">
            合作伙伴如何处理技术支持？
            <span>+</span>
          </div>
          <div class="faq-answer">
            <div class="faq-answer-content">
              我们提供全天候的技术支持服务，包括：24/7电话支持热线，随时解答技术问题；在线聊天支持，提供即时响应；完善的知识库和文档中心，提供自助解决方案；定期技术培训和研讨会，提升合作伙伴的技术能力；专属技术支持团队，为高级合作伙伴提供一对一的技术支持服务。
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 优秀代理展示区域 -->
  <section class="partner-section partners-showcase" id="agent-showcase">
    <div class="container">
      <h2 class="partners-showcase-title">优秀代理展示</h2>
      <div class="partners-grid">
        <div class="partner-item">
          <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
          <h3 class="partner-name">合作伙伴A</h3>
          <p class="partner-type">紫喵代理</p>
          <p class="partner-description">合作伙伴A是一家专注于提供云解决方案的公司，致力于帮助客户实现数字化转型。</p>
        </div>
        <div class="partner-item">
          <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
          <h3 class="partner-name">合作伙伴B</h3>
          <p class="partner-type">红喵代理</p>
          <p class="partner-description">合作伙伴B是一家领先的IT服务提供商，为客户提供全面的技术支持和解决方案。</p>
        </div>
        <div class="partner-item">
          <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
          <h3 class="partner-name">合作伙伴C</h3>
          <p class="partner-type">黄喵代理</p>
          <p class="partner-description">合作伙伴C是一家创新型科技公司，专注于开发前沿的云技术和产品。</p>
        </div>
        <div class="partner-item">
          <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
          <h3 class="partner-name">合作伙伴D</h3>
          <p class="partner-type">绿喵代理</p>
          <p class="partner-description">合作伙伴D是一家全球性的咨询公司，为客户提供战略性的云解决方案和咨询服务。</p>
        </div>
        <div class="partner-item">
          <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
          <h3 class="partner-name">合作伙伴E</h3>
          <p class="partner-type">蓝喵代理</p>
          <p class="partner-description">合作伙伴E是一家专业的软件开发公司，为客户定制开发各种云应用和解决方案。</p>
        </div>
      </div>
    </div>
  </section>

  <!-- 合作计划新闻 -->
  <section class="partner-section partner-news">
    <div class="container">
      <h2 class="partner-news-title">合作计划新闻</h2>
      <div class="partner-news-grid">
        <div class="partner-news-item">
          <div class="partner-news-img" style="background-image: url('{$setting.web_view}/placeholder.svg?height=300&width=400')"></div>
          <div class="partner-news-content">
            <div class="partner-news-date">2024年5月15日</div>
            <h3 class="partner-news-heading">合作伙伴计划正式启动</h3>
            <p class="partner-news-text">我们正式启动合作伙伴计划，旨在与各行各业的优秀企业共同发展，实现共赢合作。</p>
            <a href="#" class="partner-news-link">查看更多 <span>→</span></a>
          </div>
        </div>
        <div class="partner-news-item">
          <div class="partner-news-img" style="background-image: url('{$setting.web_view}/placeholder.svg?height=300&width=400')"></div>
          <div class="partner-news-content">
            <div class="partner-news-date">2024年5月10日</div>
            <h3 class="partner-news-heading">合作伙伴招募计划</h3>
            <p class="partner-news-text">我们正在积极招募合作伙伴，欢迎有志之士加入我们的大家庭，共同创造美好未来。</p>
            <a href="#" class="partner-news-link">查看更多 <span>→</span></a>
          </div>
        </div>
        <div class="partner-news-item">
          <div class="partner-news-img" style="background-image: url('{$setting.web_view}/placeholder.svg?height=300&width=400')"></div>
          <div class="partner-news-content">
            <div class="partner-news-date">2024年5月5日</div>
            <h3 class="partner-news-heading">合作伙伴培训计划</h3>
            <p class="partner-news-text">我们为合作伙伴提供全面的培训计划，帮助他们更好地了解我们的产品和服务，提升销售能力。</p>
            <a href="#" class="partner-news-link">查看更多 <span>→</span></a>
          </div>
        </div>
      </div>
    </div>
  </section>
</div>

<!-- 推广返佣部分 - 默认隐藏 -->
<div class="affiliate-content" style="display: none;">
  <!-- 推广优势部分 -->
  <section id="affiliate-advantages" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">推广优势</h2>
        <p class="partner-section-description">参与我们的推广返佣计划，通过推荐新客户来增加您的收益</p>
      </div>
      
      <div class="advantages-grid">
        <div class="advantage-card">
          <div class="advantage-icon">💰</div>
          <h3 class="advantage-title">高返佣</h3>
          <p class="advantage-description">高达30%的返佣比例，让您轻松赚取收益</p>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">🔄</div>
          <h3 class="advantage-title">多种模式</h3>
          <p class="advantage-description">多种推广模式，让您轻松赚取收益</p>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">👨‍💼</div>
          <h3 class="advantage-title">专属客服</h3>
          <p class="advantage-description">专属客服，全程服务，让您无后顾之忧</p>
        </div>
        
        <div class="advantage-card">
          <div class="advantage-icon">📊</div>
          <h3 class="advantage-title">可视化管理</h3>
          <p class="advantage-description">实时监控您的推广效果、返佣金额和支付状态</p>
        </div>
      </div>
      
      <div class="affiliate-cta">
        <h3>开始赚钱</h3>
        <p>无需任何技术和经验、无最高佣金限制，上不封顶</p>
        <a href="#" class="btn-partner btn-partner-primary">获取推广码</a>
      </div>
    </div>
  </section>

  <!-- 推广流程部分 -->
  <section id="affiliate-process" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">推广流程</h2>
        <p class="partner-section-description">简单四步，轻松开启您的推广之旅</p>
      </div>
      
      <div class="process-steps">
        <div class="process-step">
          <div class="process-step-number">01</div>
          <h3 class="process-step-title">注册/登录会员</h3>
          <p class="process-step-description">注册��号并完成个人实名认证</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">02</div>
          <h3 class="process-step-title">获取专属推广链接</h3>
          <p class="process-step-description">开启推广资格，复制推广链接</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">03</div>
          <h3 class="process-step-title">分享推荐链接</h3>
          <p class="process-step-description">通过推广链接注册/登录建立关联</p>
        </div>
        
        <div class="process-step">
          <div class="process-step-number">04</div>
          <h3 class="process-step-title">获取返利</h3>
          <p class="process-step-description">用户成功购买产品，获得推荐现金奖励</p>
        </div>
      </div>
    </div>
  </section>

  <!-- 返利规则部分 -->
  <section id="affiliate-rules" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">返利规则</h2>
        <p class="partner-section-description">返利金额将根据客户的消费金额计算一定比例的返利，鼓励推广更高价值的服务。</p>
      </div>
      
      <div class="rules-container">
        <div class="rules-card">
          <div class="rules-header">
            <h3>返利规则</h3>
          </div>
          <div class="rules-content">
            <div class="rules-item">
              <div class="rules-icon">🔹</div>
              <div class="rules-text">
                <h4>终身返佣</h4>
                <p>成功邀请可获终身新购，续费，二次订购提成佣金</p>
              </div>
            </div>
            <div class="rules-item">
              <div class="rules-icon">🔹</div>
              <div class="rules-text">
                <h4>高额返佣</h4>
                <p>返佣比例高达30%，无上限，收益持续增长</p>
              </div>
            </div>
            <div class="rules-item">
              <div class="rules-icon">🔹</div>
              <div class="rules-text">
                <h4>快速结算</h4>
                <p>每月固定结算，无最低提现额度限制</p>
              </div>
            </div>
            <div class="rules-item">
              <div class="rules-icon">🔹</div>
              <div class="rules-text">
                <h4>多级返佣</h4>
                <p>支持多级推广，下线推广也能获得分成</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 推广方式部分 -->
  <section id="affiliate-methods" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">推广方式</h2>
        <p class="partner-section-description">通过有效的策略吸引新客户，助您最大化返佣计划的回报</p>
      </div>
      
      <div class="methods-container">
        <h3 class="methods-subtitle">无门槛轻松赚钱</h3>
        
        <div class="methods-grid">
          <div class="method-card">
            <div class="method-icon">🌐</div>
            <h3 class="method-title">广告推广</h3>
            <p class="method-description">有个人企业网站或个人微博的，可在网站或微博上广告位，然后发布相关软文分享推荐产品,并附带推广链接。</p>
          </div>
          
          <div class="method-card">
            <div class="method-icon">👥</div>
            <h3 class="method-title">社群推广</h3>
            <p class="method-description">加站长、IDC群、服务器等相关群，群内互动私聊，引导推荐。同时到站长、IDC贴吧等，发软文贴附加推广链接。</p>
          </div>
          
          <div class="method-card">
            <div class="method-icon">📝</div>
            <h3 class="method-title">软文推广</h3>
            <p class="method-description">创建新浪、网易、搜狐等博客，定期发布相关文章，文章内嵌入您的推广链接、图片等。</p>
          </div>
        </div>
        
        <div class="methods-stats">
          <h3>推广数据</h3>
          <p>无需任何技术和经验、无最高佣金限制，上不封顶，月入过万不是梦</p>
          <a href="#" class="btn-partner btn-partner-primary">我的推广</a>
        </div>
      </div>
    </div>
  </section>

  <!-- 常见问题部分 -->
  <section id="affiliate-faq" class="partner-section">
    <div class="container">
      <div class="partner-section-header">
        <h2 class="partner-section-title">常见问题</h2>
        <p class="partner-section-description">解答您关于推广返佣计划的疑问</p>
      </div>
      
      <div class="faq-container">
        <div class="faq-item">
          <div class="faq-question" onclick="toggleFAQ(this)">
            如何加入推广返佣计划？
            <span>+</span>
          </div>
          <div class="faq-answer">
            <div class="faq-answer-content">
              加入返佣计划通常需要通过提供商的官方网站注册成为合作伙伴。您需要填写申请表，包括基本信息和推广计划等，审核通过后，您将获得推广链接和工具开始推广。
            </div>
          </div>
        </div>
        
        <div class="faq-item">
          <div class="faq-question" onclick="toggleFAQ(this)">
            推广返佣计划的返佣比例是多少？
            <span>+</span>
          </div>
          <div class="faq-answer">
            <div class="faq-answer-content">
              返佣比例根据不同的提供商和计划而异。通常，返佣比例会根据被推广产品的类型和价值以及推广的有效性来确定。具体的返佣比例和条件，您需要查看特定计划的详细规定。
            </div>
          </div>
        </div>
        
        <div class="faq-item">
          <div class="faq-question" onclick="toggleFAQ(this)">
            返佣收入何时可以提现？
            <span>+</span>
          </div>
          <div class="faq-answer">
            <div class="faq-answer-content">
              返佣收入的提现时间依赖于提供商的支付政策。一些提供商可能设有最低提现额度和验证期，只有当返佣金额达到一定数额且过了验证期后，才能申请提现。具体的提现规则，请参考您参与的返佣计划详情。
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
    <!-- 优秀代理展示区域 -->
    <section class="partner-section partners-showcase" id="affiliate-showcase" style="display: none;">
        <div class="container">
            <h2 class="partners-showcase-title">优秀推广员展示</h2>
            <p class="partner-section-description" style="text-align: center;">以下是本站的优秀推广员，快来看看他们的推广秘诀吧！</p>
            <div class="partners-grid">
                <div class="partner-item">
                    <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
                    <h3 class="partner-name">推广员A</h3>
                    <p class="partner-type">社群推广达人</p>
                    <p class="partner-description">擅长利用社群进行产品推广，精准定位用户群体，实现高效转化。</p>
                </div>
                <div class="partner-item">
                    <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
                    <h3 class="partner-name">推广员B</h3>
                    <p class="partner-type">内容营销专家</p>
                    <p class="partner-description">通过撰写优质内容吸引用户，巧妙植入产品信息，实现自然转化。</p>
                </div>
                <div class="partner-item">
                    <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
                    <h3 class="partner-name">推广员C</h3>
                    <p class="partner-type">广告投放高手</p>
                    <p class="partner-description">精通各种广告投放技巧，能够以较低的成本获取较高的曝光率和点击率。</p>
                </div>
                <div class="partner-item">
                    <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
                    <h3 class="partner-name">推广员D</h3>
                    <p class="partner-type">活动策划大师</p>
                    <p class="partner-description">善于策划各种线上线下活动，吸引用户参与，提高品牌知名度和用户粘性。</p>
                </div>
                <div class="partner-item">
                    <img src="{$setting.web_view}/placeholder.svg?height=80&width=80" alt="Partner Logo" class="partner-logo">
                    <h3 class="partner-name">推广员E</h3>
                    <p class="partner-type">数据分析达人</p>
                    <p class="partner-description">能够通过数据分析优化推广策略，提高推广效果和转化率。</p>
                </div>
            </div>
        </div>
    </section>
</div>

<!-- 联系我们部分 -->
<section id="contact" class="partner-section">
  <div class="container">
    <div class="partner-section-header">
      <h2 class="partner-section-title">联系我们</h2>
      <p class="partner-section-description">如有任何疑问或需要进一步了解我们的合作伙伴计划，请随时联系我们</p>
    </div>
    
    <div class="advantages-grid">
      <div class="advantage-card">
        <div class="advantage-icon">📞</div>
        <h3 class="advantage-title">合作热线</h3>
        <p class="advantage-description">400-123-4567</p>
        <p class="advantage-description">工作日 9:00-18:00</p>
      </div>
      
      <div class="advantage-card">
        <div class="advantage-icon">✉️</div>
        <h3 class="advantage-title">合作邮箱</h3>
        <p class="advantage-description">partner@example.com</p>
        <p class="advantage-description">我们将在24小时内回复您的邮件</p>
      </div>
      
      <div class="advantage-card">
        <div class="advantage-icon">💬</div>
        <h3 class="advantage-title">在线咨询</h3>
        <p class="advantage-description">通过官网在线客服咨询</p>
        <p class="advantage-description">7x24小时在线服务</p>
      </div>
      
      <div class="advantage-card">
        <div class="advantage-icon">📱</div>
        <h3 class="advantage-title">微信客服</h3>
        <p class="advantage-description">扫描下方二维码添加微信客服</p>
        <div class="qr-container">
          <img src="{$setting.web_view}/placeholder.svg?height=150&width=150" alt="客服微信二维码" class="contact-qrcode">
        </div>
      </div>
      
      <div class="advantage-card">
        <div class="advantage-icon">🐧</div>
        <h3 class="advantage-title">QQ客服</h3>
        <p class="advantage-description">扫描下方二维码添加QQ客服</p>
        <div class="qr-container">
          <img src="{$setting.web_view}/placeholder.svg?height=150&width=150" alt="QQ客服二维码" class="contact-qrcode">
        </div>
      </div>
    </div>
  </div>
</section>

<script>
// FAQ切换功能
function toggleFAQ(element) {
  // 获取对应的答案元素
  const answer = element.nextElementSibling;
  const icon = element.querySelector("span");

  // 切换当前FAQ的激活状态
  const isActive = answer.style.maxHeight !== "0px" && answer.style.opacity !== "0";

  if (!isActive) {
    // 打开FAQ - 使用更快的动画
    element.style.color = document.body.classList.contains('dark') ? "var(--partner-primary)" : "var(--partner-primary)";
    answer.style.maxHeight = "1000px";
    answer.style.opacity = "1";
    answer.style.paddingBottom = "1.5rem";
    
    // 图标旋转动画 - 加快速度
    icon.style.transition = "transform 0.3s ease";
    icon.textContent = "×";
    icon.style.transform = "rotate(45deg)";
  } else {
    // 关闭FAQ
    element.style.color = document.body.classList.contains('dark') ? "var(--dark-text)" : "var(--dark)";
    answer.style.maxHeight = "0";
    answer.style.opacity = "0";
    answer.style.paddingBottom = "0";
    
    // 图标旋转动画 - 加快速度
    icon.style.transition = "transform 0.3s ease";
    icon.textContent = "+";
    icon.style.transform = "rotate(0deg)";
  }
}

// 导航菜单激活状态
document.addEventListener("DOMContentLoaded", function() {
  const sections = document.querySelectorAll(".partner-section");
  const navLinks = document.querySelectorAll(".partner-nav-link");
  
  // 滚动监听
  window.addEventListener("scroll", function() {
    let current = "";
    
    sections.forEach(section => {
      const sectionTop = section.offsetTop;
      const sectionHeight = section.clientHeight;
      if (pageYOffset >= (sectionTop - 200)) {
        current = section.getAttribute("id");
      }
    });
    
    navLinks.forEach(link => {
      link.classList.remove("active");
      if (link.getAttribute("href").substring(1) === current) {
        link.classList.add("active");
      }
    });
  });
  
  // 平滑滚动
  navLinks.forEach(link => {
    link.addEventListener("click", function(e) {
      e.preventDefault();
      
      const targetId = this.getAttribute("href").substring(1);
      const targetElement = document.getElementById(targetId);
      
      window.scrollTo({
        top: targetElement.offsetTop - 120,
        behavior: "smooth"
      });
    });
  });
});

// 合作方式选项卡切换
document.addEventListener("DOMContentLoaded", function() {
  const partnerTabs = document.querySelectorAll(".partner-tab");
  const agentContent = document.querySelector(".agent-content");
  const affiliateContent = document.querySelector(".affiliate-content");
  const agentNav = document.querySelector(".agent-nav");
  const affiliateNav = document.querySelector(".affiliate-nav");
  const agentShowcase = document.getElementById("agent-showcase");
  const affiliateShowcase = document.getElementById("affiliate-showcase");
  
  partnerTabs.forEach(tab => {
    tab.addEventListener("click", function() {
      // 移除所有标签的active状态
      partnerTabs.forEach(t => t.classList.remove("active"));
      // 添加当前标签的active状态
      this.classList.add("active");
      
      const tabType = this.getAttribute("data-tab");
      
      if (tabType === "agent") {
        agentContent.style.display = "block";
        affiliateContent.style.display = "none";
        agentNav.classList.add("active");
        affiliateNav.classList.remove("active");
        agentShowcase.style.display = "block";
        affiliateShowcase.style.display = "none";
      } else if (tabType === "affiliate") {
        agentContent.style.display = "none";
        affiliateContent.style.display = "block";
        agentNav.classList.remove("active");
        affiliateNav.classList.add("active");
        agentShowcase.style.display = "none";
        affiliateShowcase.style.display = "block";
      }
    });
  });
});
</script>

{include file="common/footer" /}

